package com.shixulin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shixulin.domain.ResponseResult;
import com.shixulin.entity.DTO.ExamPaperQueryDTO;
import com.shixulin.entity.ExamPaper;

/**
 * (ExamPaper)表服务接口
 *
 * @author makejava
 * @since 2023-11-20 18:21:06
 * 
 */

public interface ExamPaperService extends IService<ExamPaper> {
    ResponseResult createExamPaper(ExamPaper examPaper);

    ResponseResult getExamPaperList(ExamPaperQueryDTO examPaperQueryDTO);

    ResponseResult publishPaper(int paperId);

    ResponseResult cancelPublish(int paperId);

    ResponseResult getExamPaperByPaperId(int paperId);

    ResponseResult getExamQuestionByPaperId(int paperId);

    ResponseResult editExamPaper(ExamPaper examPaper);

    ResponseResult updateExamScore(ExamPaper examPaper);

    ResponseResult deleteExamPaper(int paperId);

    ResponseResult getExamPaper(int subjectId);

    ResponseResult getPaper(int paperId);
}

